package com.ling.sbbyyds.entity.news;

import com.ling.sbbyyds.entity.news.table.NewsChatMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @Description: 用户聊天室信息
 * @author: ling
 * @date: 2023年02月12日
 */
@Data
@Accessors(chain = true)
public class UserChatRoom {
    @ApiModelProperty("聊天室ID")
    private Long chatRoomId;
    @ApiModelProperty("聊天室名称")
    private String chatRoomName;
    @ApiModelProperty("聊天室头像")
    private String groupChatHead;
    @ApiModelProperty("聊天室类型")
    private String chatRoomType;
    @ApiModelProperty("聊天室内容")
    private List<NewsChatMessage> chatContents;
    @ApiModelProperty("聊天用户信息")
    private List<ChatUserInfo> chatUserList;
    @ApiModelProperty("聊天好友ID")
    private Long friendId;
    @ApiModelProperty("用户最新阅读时间")
    private Date userNewReadTime;
    @ApiModelProperty("用户未读信息数")
    private Integer notReadNum;

}
